Skip to content

feat: add a Docker HEALTHCHECK for the daemon - #18

Merged
prashar32 merged 1 commit into
mainfrom
feat/docker-healthcheck
May 30, 2026
Merged

feat: add a Docker HEALTHCHECK for the daemon#18
prashar32 merged 1 commit into
mainfrom
feat/docker-healthcheck

Conversation

@prashar32

Copy link
Copy Markdown
Owner

The Docker image had no HEALTHCHECK, so orchestrators couldn't tell when the container was healthy. Since the distroless image has no shell or curl, this adds a riskkernel healthcheck subcommand (GETs /healthz, exits non-zero when unhealthy) and wires it into the Dockerfile HEALTHCHECK.

Fixes #14

Verified locally: riskkernel healthcheck exits 1 when the daemon is down and 0 when it's up.

The distroless image has no shell or curl, so add a `riskkernel healthcheck`
subcommand that GETs /healthz and exits non-zero when unhealthy, and wire it
into the Dockerfile HEALTHCHECK. Lets orchestrators see container health.

Fixes #14
@prashar32
prashar32 merged commit 0f7de61 into main May 30, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a HEALTHCHECK to the Docker image

1 participant